const express = require('express');
const router = express.Router();
const imagesCtrl = require('../controller/images');
//显示图片列表
router.get('/', function(req, res, next) {
	global.navlist = 7;
	imagesCtrl.getImageList(list => {
		res.render('images', { list: list });
	})
});
module.exports = router;